import 'package:hi_common/hi_common.dart';

class ApiResponse<T> {
  int code;
  T data;
  String msg;

  ApiResponse({this.code, this.data, this.msg});

  bool successful() {
    return code == HttpRespCode.OK;
  }
}
